package com.ruoyi.projectplan.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目计划对象 xzk_project_plan
 * 
 * @author ruoyi
 * @date 2021-04-02
 */
public class XzkProjectPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计划ID */
    private Long planid;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectname;

    /** 年级名称 */
    @Excel(name = "年级名称")
    private String gradename;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentname;

    /** 负责模块 */
    @Excel(name = "负责模块")
    private String plancontent;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date begintime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    /** 完成情况 */
    @Excel(name = "完成情况")
    private String completionstatus;

    public void setPlanid(Long planid) 
    {
        this.planid = planid;
    }

    public Long getPlanid() 
    {
        return planid;
    }
    public void setProjectname(String projectname) 
    {
        this.projectname = projectname;
    }

    public String getProjectname() 
    {
        return projectname;
    }
    public void setGradename(String gradename) 
    {
        this.gradename = gradename;
    }

    public String getGradename() 
    {
        return gradename;
    }
    public void setStudentname(String studentname) 
    {
        this.studentname = studentname;
    }

    public String getStudentname() 
    {
        return studentname;
    }
    public void setPlancontent(String plancontent) 
    {
        this.plancontent = plancontent;
    }

    public String getPlancontent() 
    {
        return plancontent;
    }
    public void setBegintime(Date begintime) 
    {
        this.begintime = begintime;
    }

    public Date getBegintime() 
    {
        return begintime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setCompletionstatus(String completionstatus) 
    {
        this.completionstatus = completionstatus;
    }

    public String getCompletionstatus() 
    {
        return completionstatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planid", getPlanid())
            .append("projectname", getProjectname())
            .append("gradename", getGradename())
            .append("studentname", getStudentname())
            .append("plancontent", getPlancontent())
            .append("begintime", getBegintime())
            .append("endtime", getEndtime())
            .append("completionstatus", getCompletionstatus())
            .toString();
    }
}
